package cn.dckeji.gameBox.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lucas
 * @since 2018-08-20
 */
@TableName("game_customer")
public class Customer extends Model<Customer> {

    private static final long serialVersionUID = 1L;

    /**
     * 客户编号
     */
    @TableId(value = "id")
    private String id;
    /**
     * 微信名称
     */
    private String nickName;
    /**
     * 微信头像
     */
    private String nickImg;
    /**
     * 微信code
     */
    private String code;
    /**
     * 授权时间
     */
    private Date authTime;
    /**
     * 最近登录时间
     */
    private Date loginTime;
    /**
     * 最近登录时间
     */
    private Date createTime;
    /**
     * 性别
     */
    private String sex;
    /**
     * 城市
     */
    private String city;
    /**
     * 省
     */
    private String province;

    @Override
    public String toString() {
        return "Customer{" +
                "id='" + id + '\'' +
                ", nickName='" + nickName + '\'' +
                ", nickImg='" + nickImg + '\'' +
                ", code='" + code + '\'' +
                ", authTime=" + authTime +
                ", loginTime=" + loginTime +
                ", createTime=" + createTime +
                ", sex='" + sex + '\'' +
                ", city='" + city + '\'' +
                ", province='" + province + '\'' +
                '}';
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickImg() {
        return nickImg;
    }

    public void setNickImg(String nickImg) {
        this.nickImg = nickImg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Date getAuthTime() {
        return authTime;
    }

    public void setAuthTime(Date authTime) {
        this.authTime = authTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
